package com.nezha.lib_common.utils

import com.nezha.lib_log.LoggerLevel
import com.nezha.lib_log.LoggerManager
import com.nezha.lib_log.LoggerStrategy

/**
 * 日志工具类
 */
object LoggerUtils {
    private val logger by lazy {
        LoggerManager.Budiler()
            .setTAG("ivideo")
            .setLoggerLevel(LoggerLevel.Error)
            .setLoggerStrategy(LoggerStrategy.FILE)
            .setSaveUrl("")
            .setDebug(true)
            .build()
    }
    fun v(tag:String,log:String){
        logger.v(tag,log)
    }
    fun d(tag:String,log:String){
        logger.d(tag,log)
    }
    fun i(tag:String,log:String){
        logger.i(tag,log)
    }
    fun w(tag:String,log:String){
        logger.w(tag,log)
    }
    fun e(tag:String,log:String){
        logger.e(tag,log)
    }
}